package com.GUI.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HorizontalSplitPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.HasVerticalAlignment;

public class StatusBar extends Composite {
	private Label lblNewLabel_1;
	public StatusBar() {
		
		VerticalPanel verticalPanel = new VerticalPanel();
		initWidget(verticalPanel);
		verticalPanel.setSize("640", "25");
		
		Grid grid = new Grid(1, 7);
		grid.setBorderWidth(1);
		verticalPanel.add(grid);
		grid.setSize("640px", "20px");
		
		Label lblNewLabel = new Label("McGill EngGames 2014 Robotic Team");
		grid.setWidget(0, 0, lblNewLabel);
		
		Label lblNewLabel_4 = new Label("|");
		grid.setWidget(0, 4, lblNewLabel_4);
		
		lblNewLabel_1 = new Label("Com Port Disconnected");
		lblNewLabel_1.setStyleName("gwt-Com-Disc");
		grid.setWidget(0, 6, lblNewLabel_1);
		lblNewLabel_1.setWidth("");
		grid.getCellFormatter().setVerticalAlignment(0, 6, HasVerticalAlignment.ALIGN_MIDDLE);
		grid.getCellFormatter().setHorizontalAlignment(0, 6, HasHorizontalAlignment.ALIGN_CENTER);
	}

}
